package com.jsu.springboot_crop.dao;

import com.jsu.springboot_crop.entity.Expert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExpertDao {
    int deleteByPrimaryKey(String userName);

    int insertSelective(Expert record);

    Expert selectByPrimaryKey(String userName);

    int updateByPrimaryKeySelective(Expert record);

    List<Expert>selectAllExpert();
    List<Expert>selectAllByKeys(@Param("keys")String keys);
}
